package com.woniu.client;

import com.woniu.config.FeignConfig;
import com.woniu.dto.SiteDto;
import com.woniu.zsd.commons.core.model.Result;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "zsd-merchant", configuration = FeignConfig.class)
public interface MerchantClient {
    @GetMapping("/site/siteId")
    public Result<SiteDto> siteId(@ApiParam(value = "站点id") @RequestParam("siteId")Integer siteId);
}
